package com.yn.club.subject.application.convert;


import java.util.List;
import com.yn.club.subject.domain.entity.SubjectCategoryDO;
import com.yn.club.subject.application.dto.SubjectCategoryDTO;
import com.yn.club.subject.application.request.SubjectCategorySaveRequest;
import com.yn.club.subject.application.request.SubjectCategoryQueryRequest;
import org.mapstruct.Mapper;
import com.yn.club.common.util.MapStructUtil;
/**
 * 题目分类(SubjectCategory)DTO和DO转换
 *
 * @author YN
 * @since 2025-01-21 17:40:47
 */
@Mapper(componentModel = "spring", uses = {MapStructUtil.class})
public interface SubjectCategoryApplicationConverter {

  SubjectCategoryDTO convertDoToDto(SubjectCategoryDO ojb);
  
  List<SubjectCategoryDTO> convertDoToDto(List<SubjectCategoryDO> ojbs);
  
  SubjectCategoryDO convertDtoToDo(SubjectCategoryDTO ojb);
  
  List<SubjectCategoryDO> convertDtoToDo(List<SubjectCategoryDTO> ojbs);
  
  SubjectCategoryDO convertSaveRequestToDo(SubjectCategorySaveRequest ojb);
  
  SubjectCategoryDO convertQueryRequestToDo(SubjectCategoryQueryRequest ojb);
  
  
}

